#include "mainwindow.h"
#include <QTextEdit>
#include <windows.h>

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
{
    setWindowTitle("splash example");
    QTextEdit *edit = new QTextEdit();
    edit->setText("splash example");
    setCentralWidget(edit);

    resize(600, 450);
    Sleep(3000); // 模拟程序启动耗时
}

MainWindow::~MainWindow()
{

}
